<!--{template "topic_header"}-->
<!--{if $this->Config[ad_enable] && $this->Config[ad][ad_list][channel][header]}-->
<!--{eval SetADV('channel','header');}-->
<!--{/if}-->


<div class="channelTop">
<div class="channelnav">
<div class="navLeft">{$channel_nav}</div>
</div>
<div class="channelsubnav">
<ul class="boxNav2">
  <!--{eval if('top' == $filter_view) $top = 'boxNavselect';elseif('mark' == $filter_view) $mark = 'boxNavselect';elseif('dig' == $filter_view) $dig = 'boxNavselect';		elseif('ldig' == $filter_view) $ldig = 'boxNavselect';else $post = 'boxNavselect';}-->
  <li class="{$post}"><a href="index.php?mod=channel&id={$this->Channel}&list=txt&view=post">最新发布</a></li>
  <li>|</li>
  <li class="{$dig}"><a href="index.php?mod=channel&id={$this->Channel}&list=txt&view=dig">最新{$this->Config[changeword][dig]}</a></li>
  <li>|</li>
  <li class="{$mark}"><a href="index.php?mod=channel&id={$this->Channel}&list=txt&view=mark">最新回应</a></li>
  <li>|</li>
  <li class="{$ldig}"><a href="index.php?mod=channel&id={$this->Channel}&list=txt&view=ldig">热门{$this->Config[changeword][dig]}</a></li>
  <li>|</li>
  <li class="{$top}"><a href="index.php?mod=channel&id={$this->Channel}&list=txt&view=top">推荐置顶</a></li>
  </ul> 
<div class="list_title"> 
  <a class="listmod "href="index.php?mod=channel&id={$this->Channel}&list=txt"></a>
  <a class="picmod" href="index.php?mod=channel&id={$this->Channel}&list=pic"></a>
</div>  
</div>
</div>

<div class="appframe channelHome">
<div class="channelHomecon">
<div class="channelHome_warp">
  <div id="listTopicMsgArea"></div>
	  <div id="listTopicArea">
        <div class="Listmain">
          <!--{if $topics}-->
          <!--{eval $counts = 1;}-->
          <!--{loop $topics $val}-->
		  <!--{eval $counts++;}-->
          <div class="feedCell" id="topic_list_{$val[tid]}"><!--{subtemplate topic_item_ajax}--></div>
          <!--{if $this->Config[ad_enable] && $this->Config[ad][ad_list][channel][middle_center1]&&$counts =="5"}-->
		  <!--{eval SetADV('channel','middle_center1');}-->
		  <!--{/if}-->
          <!--{/loop}-->
            
          <!--{if $page_arr[html]}-->
          <div class="pageStyle"><li>{$page_arr[html]}</li></div>
          <!--{/if}-->
          
		  <!--{else}-->
		  <br>
          <div style="text-align:center; color:#999">没有相关$this->Config['changeword']['p_weibo']</div>
          <!--{/if}-->
        </div>
      </div>     
</div>
<div class="channelHome_side">
	
		<!--{if $this->Config[ad_enable] && $this->Config[ad][ad_list][channel][middle_right_top]}-->
		<!--{eval SetADV('channel','middle_right_top');}-->
		<!--{/if}-->
	  <div class="side">
		<h3>频道简介</h3>
		<ul>
		  {$channel_description}
		</ul>
	  </div>
	  <!--{if $child_channel}-->
	  <div class="side">
		<h3>下级频道</h3>
		<ul class="channelul">
		  <!--{loop $child_channel $val}-->
		  <li><a href="index.php?mod=channel&id={$val[ch_id]}">{$val[ch_name]}</a></li>
		  <!--{/loop}-->
		</ul>
	  </div>
	  <!--{/if}-->
	  <div class="side">
		<h3>推荐置顶</h3>
		<ul id="recommend_top">
		</ul>
	  </div>
	  <div class="side">
		<h3>一周{$this->Config[changeword][dig]}TOP10</h3>
		<ul class="channelul" id="week_dig">
		</ul>
	  </div>
	  <div class="side">
		<h3>一月{$this->Config[changeword][dig]}TOP10</h3>
		<ul class="channelul" id="month_dig">
		</ul>
	  </div>
	  <!-- <div class="side">
		<h3>{$this->Config[site_name]}意见反馈</h3>
		<ul>
		  众人拾柴火焰高，如您有任何建议欢迎点<a href="index.php?mod=tag&code=意见反馈" target="_blank">意见反馈</a>告诉我们。
		</ul>
	  </div> -->
	  
		<!--{if $this->Config[ad_enable] && $this->Config[ad][ad_list][channel][middle_right]}-->
		<!--{eval SetADV('channel','middle_right');}-->
		<!--{/if}-->
</div>
</div>
</div>

<script language="javascript">
	$(document).ready(function(){
		$(".mychannel span").click(function(){$(".mychannel").toggleClass("mychannelon");$(".mychannelBox").toggle();$(".allchannelBox").hide();});
        $(".allchannel span").click(function(){$(".allchannel").toggleClass("allchannelon");$(".allchannelBox").toggle();$(".mychannelBox").hide();});
		get_recommend_top();get_month_dig();get_week_dig();
	});
	function get_recommend_top(){channel_right_show_ajax('recommend_top','{$this->Channel}');}
	function get_week_dig(){channel_right_show_ajax('week_dig','{$this->Channel}');}
	function get_month_dig(){channel_right_show_ajax('month_dig','{$this->Channel}');}
</script>
<!--{if $this->Config[ad_enable] && $this->Config[ad][ad_list][channel][footer]}-->
<!--{eval SetADV('channel','footer');}-->
<!--{/if}-->
{template "topic_footer"}
